import Vue from 'vue'
import Component from 'vue-class-component'
import { payServices } from '@/common/services/pay'

@Component
export default class FundMixin extends Vue {

  // 获取汇总数据
  public drawerVisible = false
  public handlerGetTotal() {
    this.drawerVisible = true
  }

  // 生成辖区批次号
  public handlerGenerateNo(s_a_id: string) {
    payServices.generateNo({
      s_a_id
    }).then(() => {
      this.$message.success('批次号生成成功')
    })
  }
}
